Skip to content

Update servlet test method docs to use include-code #17749

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 6.5.x
Choose a base branch
from

Conversation

jkuhel
Copy link

@jkuhel jkuhel commented Aug 16, 2025

This commit updates the Servlet test method ascii docs to use include-code block macro.

Also, added additional tests demonstrating usage of the @WithMockUser, @WithUserDetails, @WithMockUser, and a custom @WithMockCustomUser annotations based on existing tests in org/springframework/security/test/context/showcase in the spring-security-test module.

References #16226

@jkuhel jkuhel force-pushed the gh-16226-servlet-test-method branch from 75cfd27 to a923ec8 Compare August 16, 2025 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants